package task15;

import java.util.Scanner;

/**
 * @author banana
 * 输出m行n列的星形
 */
public class Task2_15_3 {
    public static void main(String[] args) {
        System.out.println("请输入两个数");
        Scanner scanner = new Scanner(System.in);
        int m = scanner.nextInt();
        int n = scanner.nextInt();
        stad(m, n);
    }

    private static void stad(int m, int n) {
        for (int i = 1; i <= m; i++) {
            for (int j = 1; j <= n; j++) {
                System.out.print("*");


            }
            System.out.println();
        }
    }
}
